
import java.util.*;
import java.util.Random;
import java.lang.*;
import org.OpenNI.*;

public class skeleton {

	public static final int SKEL_HEAD = 0;
	public static final int SKEL_NECK = 1;

	public static final int SKEL_LEFT_SHOULDER = 2;
	public static final int SKEL_LEFT_ELBOW = 3;
	public static final int SKEL_LEFT_HAND = 4;

	public static final int SKEL_RIGHT_SHOULDER = 5;
	public static final int SKEL_RIGHT_ELBOW = 6;
	public static final int SKEL_RIGHT_HAND = 7;

	public static final int SKEL_TORSO = 8;
	
	public static final int SKEL_LEFT_HIP = 9;
	public static final int SKEL_LEFT_KNEE = 10;
	public static final int SKEL_LEFT_FOOT = 11;

	public static final int SKEL_RIGHT_HIP = 12;
	public static final int SKEL_RIGHT_KNEE = 13;
	public static final int SKEL_RIGHT_FOOT = 14;

	public int partType;
	public volatile Vector<Point3D> list;
	
	public skeleton() {
		
		list = new Vector<Point3D>();
		for (int i=0; i<15;i++)
		{
			Point3D temp = new Point3D(0.0f, 0.0f,0.0f);
			list.add(i,temp);
		}
	}
	
	public void setJoint(int joint, Point3D val){
		list.set(joint, val);
	}
	/**
	 * @param args
	 */
	

}
